package service;

import pojo.Car;

/**
 * @author 24270
 */
public class StaticFactory {
    public static Car carStaticFactory(int id, String name) {
        return new Car(id, name);
    }

    public Car creatInstanceCar(int id, String name) {
        return new Car(id, name);
    }
}
